WPForms\Admin\Builder\Templates C

Total Complexity 108
Dependencies 1
Dependents 1
Total lines 856
Lines of code 411
Logical lines of code 211
Comment lines 295
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
apply_to_existing_form()
A
51 11 26
get_template_on_request()
A
53 10 22
init_templates_data()
A
45 8 41
apply_to_new_form()
A
49 8 32
create_form_on_request()
S
46 6 43
ajax_save_favorites()
S
53 7 23
check_template_required_addons()
S
58 6 15
get_template()
S
56 5 20
get_license_level()
S
58 5 16
has_access()
S
59 5 14
upgrade_banner_template()
S
52 3 26
create_form_on_request_redirect()
S
55 3 23
get_template_by_id()
S
66 4 8
get_template_by_slug()
S
66 4 8
allow_load()
S
68 4 6
is_valid_template()
S
65 3 8
get_favorites_list()
S
66 3 8
init_license_data()
S
64 3 8
enqueues()
S
54 1 24
get_templates()
S
64 2 10
init()
S
68 2 8
is_favorite()
S
69 2 7
add_templates_to_setup_panel()
S
79 1 3
hooks()
S
63 1 9
get_categories()
S
82 1 3